home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-08-11 | 410 b | 17 lines | [TEXT/ScoM] |
- l-rest-condense length-pattern
-
- This function condenses a sequence of rests-lengths into the sum of its parts.
-
- (setq len '(-1/20 -1/20 1/20 -1/20 -1/20))
-
- (setq len1 (l-rest-condense len))
- => (-1/10 1/20 -1/10)
-
- (l-rest-revert len)
- => (1/20 1/20 1/20 1/20 1/20)
-
- (l-rest-revert len1)
- => (1/10 1/20 1/10)
-
- (l-rest-condense '((-1/20 -1/20 1/20 -1/20 -1/20) (1/8 -1/16 -1/16)))
- => ((-1/10 1/20 -1/10) (1/8 -1/8))